package com.banksoft.cps.dao;

import com.banksoft.cps.bean.PoliceCheck;
import com.banksoft.cps.bean.query.PoliceCheckQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by rongzhao.zhu on 2018/11/14.
 */
@Repository
public interface PoliceCheckDao {

    List<PoliceCheck> list(PoliceCheckQuery query);

    long count(PoliceCheckQuery query);

    PoliceCheck findById(String id);

    void insert(PoliceCheck bean);

    void update(PoliceCheck bean);
}
